package com.geeguo.ebuilder.client.business.system.excelimport.model;

import com.geeguo.ebuilder.core.common.model.converter.DateLongMapper;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(uses = DateLongMapper.class)
public interface ExcelImportConverter {
    
    ExcelImportConverter INSTANCE = Mappers.getMapper(ExcelImportConverter.class);
    
    ExcelImportVO convert2VO(ExcelImportEntity entity);
    
    ExcelImportEntity convert2Entity(ExcelImportVO vo);
    ExcelImportEntity convert2Entity(ExcelImportCreateDTO dto);
}